﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="categories.ascx.cs" Inherits="TrangSucShop.usercontrol.categories" %>
<table style="width: 100%;">
    <tr>
        <td>
            <div class="title"><span class="title_icon"><img src="images/bullet2.gif" alt="" title="" />
            <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </span></div>
            
        </td>
    </tr>
    <tr>
        <td>
            <asp:DataList ID="DataList1" runat="server" RepeatColumns="3">
                <ItemTemplate>
                    <div class="new_prod_box">
                        <a href='<%# "Details.aspx?IDSP="+Eval("ID") %>'><%#Eval("TenSanPham") %></a>
                        <div class="new_prod_bg">
                       <div class="new_icon">'<%#Eval("icon") %>'</div>
                        <a href='<%# "Details.aspx?IDSP="+Eval("ID") %>'>
                        <img id="image11" src='<%#"images/"+ Eval("Hinh") %>' alt="" title="" class="thumb" border="0" width="100" height="95"/>
                        
                        </a>
                        </div>       
                    </div>
                </ItemTemplate>
            </asp:DataList>
        </td>
    </tr>
    <tr>
        <td>
            <table>
            <tr>
                <td>
                    <asp:LinkButton ID="LbtFirst" runat="server" onclick="LbtFirst_Click">&lt;&lt;</asp:LinkButton>
                </td>
                <td>
                    <asp:LinkButton ID="LbtPre" runat="server" onclick="LbtPre_Click">&lt;</asp:LinkButton>
                </td>
                <td>
                    <asp:DataList ID="DataList2" runat="server" RepeatDirection="Horizontal" 
                        onitemcommand="DataList2_ItemCommand" onitemdatabound="DataList2_ItemDataBound">
                        <ItemTemplate>
                            <asp:LinkButton ID="lbtPage" runat="server" Text='<%#Eval("PageText") %>' CommandName="page" CommandArgument='<%#Eval("PageIndex") %>'></asp:LinkButton>
                        </ItemTemplate>
                    </asp:DataList>
                </td>
                <td>
                    <asp:LinkButton ID="LbtNext" runat="server" onclick="LbtNext_Click">&gt;</asp:LinkButton>
                </td>
                <td>
                    <asp:LinkButton ID="lbtLast" runat="server" onclick="lbtLast_Click">&gt;&gt;</asp:LinkButton>
                </td>
            </tr>
            </table>
</table>
